Automatic Test Generation from UML Sequence Diagrams
نویسنده
چکیده
Automatic generation of test cases for functional testing is a challenging task. It involves complex sub tasks such as capturing user scenarios, parsing user scenarios to generate test cases, ensuring test coverage criteria, test script generation from test cases, test execution and report generation. In this paper, a method is proposed to generate test cases after parsing Sequence diagram and thereafter generating XML based test cases, and subsequently APK based test scripts for Android mobiles. A tool called Virtual Test Engineer (VTE) has been developed based on this method, which is used for testing several Android applications. In this paper it is explained how navigation through menu tree of Android mobile is achieved through a menu tree data base. The effectiveness of this method is discussed from experimental results. Comparison has been made of the proposed method with others and the proposed method has been found to be more effective.
منابع مشابه
Mapping Sequence diagram in Fuzzy UML to Fuzzy Petri Net
This ability in fuzzy UML, practically leaves the customers and market’s need without response in this important and vital area. Here, the available sequence diagrams in fuzzy UML will map into fuzzy Petri net. However, the formal models ability will be added to the Semi-formal fuzzy UML. This formalization will add the automatic processing ability to the Semi-formal fuzzy UML. Further more, t...
متن کاملAutomatic Generation of Java Code from UML Diagrams using UJECTOR
In recent years, the significance of automated generation of object-oriented code from UML diagrams has increased due to its benefits, such as, cost reduction and accuracy. Consistency Checking between UML diagrams, and ensuring accuracy, maintainability, efficiency, and completeness of the generated code are the main concerns in this area. This paper extends our work on a tool called UJECTOR f...
متن کاملApproaches for Test Case Generation from UML Diagrams
Model based testing (MBT) is an important approach with many advantages that can reduce the cost and increase the effectiveness and quality of a testing procedure. In MBT, test cases can be derived from different models, also from the popularly used UML diagrams. Different UML diagrams include various important pieces of information that can be successfully used in a testing procedure. A lot of...
متن کاملTesting Graphical User Interface Using Decision Based Sequence Diagrams
This paper presents a novel approach to generate and execute graphical user interfaces from decision based UML sequence diagrams .This has been designed especially for efficient user interfaces where with less generation and verification effort are required different types of decision tables and UML sequence diagrams. The decision based sequence diagrams test sets did better at revealing integr...
متن کاملUML-based test specification for communication systems: a methodology for the use of MSC and IDL in testing
Nowadays, the complexity of modern telecommunication systems has increased significantly and the requirement for thorough and systematic testing is undisputed. The Testing and Test Control Notation (version 3) (TTCN-3) is an universal and standardised language for the specification and implementation of tests for communication systems. Many systems and in particular object-oriented systems are ...
متن کاملA Novel Methodology for Test Scenario Generation Based on Control Flow Analysis of Uml 2.x Sequence Diagrams
Now a days UML is widely used for preparing design documents. It helps to specify, construct, visualize and document artifacts of software systems. This paper presents an approach to test the software in the early stage (design phase) of software development life cycle, so that it can help the software testers in the later stages. This paper focuses on generating test scenarios from UML 2.x Seq...
متن کامل